{template 'common/header'} 
<link rel="stylesheet" type="text/css" href="../addons/zsk_award/css/main.css">
<div class="panel panel-info">
	<div class="panel-heading" style="text-align: center;">奖项信息</div>
	<div class="panel-body">
		{loop $result $index $item}
		<div class="row" style="margin-top: 20px;">
		    <div class="alignR col-xs-4 col-md-5 " >活动名称:</div>
		    <div class="alignL col-xs-8 col-md-7 ">{$item['activityname']}</div>
		</div>
		<div class="row" style="margin-top: 20px;">
		     <div class="alignR col-xs-4 col-md-5 " >一等奖奖品设置:</div>
		    <div class="alignL col-xs-8 col-md-7 ">{$item['award1']}</div>
		</div>
		<div class="row" style="margin-top: 20px;">
		    <div class="alignR col-xs-4 col-md-5 " >一等奖奖品数量:</div>
		    <div class="alignL col-xs-8 col-md-7 ">{$item['awardnumber1']}</div>
		</div>
		<div class="row" style="margin-top: 20px;">
		    <div class="alignR col-xs-4 col-md-5 " >二等奖奖品设置:</div>
		    <div class="alignL col-xs-8 col-md-7 ">{$item['award2']}</div>
		</div>
		<div class="row" style="margin-top: 20px;">
		    <div class="alignR col-xs-4 col-md-5 " >二等奖奖品数量:</div>
		    <div class="alignL col-xs-8 col-md-7 ">{$item['awardnumber2']}</div>
		</div>
		<div class="row" style="margin-top: 20px;">
		    <div class="alignR col-xs-4 col-md-5 " >三等奖奖品设置:</div>
		    <div class="alignL col-xs-8 col-md-7 ">{$item['award3']}</div>
		</div>
		<div class="row" style="margin-top: 20px;">
		    <div class="alignR col-xs-4 col-md-5 " >三等奖奖品数量:</div>
		    <div class="alignL col-xs-8 col-md-7 ">{$item['awardnumber3']}</div>
		</div>
		<div class="row" style="margin-top: 20px;">
		    <div class="alignR col-xs-4 col-md-5 " >是否显示奖品数量:</div>
		    <div class="alignL col-xs-8 col-md-7 "><?php if($item['is_use']==1){echo '是';}else{echo '否';}?></div>
		</div>
		<div class="row" style="margin-top: 20px;">
		    <div class="alignR col-xs-4 col-md-5 " >一等奖中奖概率:</div>
		    <div class="alignL col-xs-8 col-md-7 ">{$item['probability1']}</div>
		</div>
		<div class="row" style="margin-top: 20px;">
		    <div class="alignR col-xs-4 col-md-5 " >二等奖中奖概率:</div>
		    <div class="alignL col-xs-8 col-md-7 ">{$item['probability2']}</div>
		</div>
		<div class="row" style="margin-top: 20px;">
		    <div class="alignR col-xs-4 col-md-5 " >三等奖中奖概率:</div>
		    <div class="alignL col-xs-8 col-md-7 ">{$item['probability3']}</div>
		</div>
		<div class="row" style="margin-top: 20px;">
		    <div class="alignR col-xs-4 col-md-5 " >每人最多允许抽奖次数:</div>
		    <div class="alignL col-xs-8 col-md-7 ">{$item['maxnumberp']}</div>
		</div>
		<div class="row" style="margin-top: 20px;">
		    <div class="alignR col-xs-4 col-md-5 " >每天抽奖次数:</div>
		    <div class="alignL col-xs-8 col-md-7 ">{$item['maxnumberd']}</div>
		</div>
		<div class="row" style="margin-top: 20px;">
		    <div class="alignR col-xs-4 col-md-5 " >兑奖密码:</div>
		    <div class="alignL col-xs-8 col-md-7 ">{$item['ticketpassword']}</div>
		</div>
			{/loop}
			<div class="row" style="margin-top: 20px;">
		    <div class="col-xs-12 col-md-12 " style="text-align: center;" > 
		     <!--  <a href="<?php echo $_W['siteroot']."app/".$this->createMobileUrl("app",array("awardid"=>$item['id']));?>"    style="color: blue;" />抽奖链接</a> -->
		      抽奖链接:<?php echo $_W['siteroot']."app/".$this->createMobileUrl("app",array("awardid"=>$item['id']));?><br/>
		       <!-- <?php echo $_W["siteroot"]."app/".$this->createMobileUrl("QRCode",array("url"=>"http://sq.0mnet.cn/app/index.php?i=2&c=entry&awardid=22&do=app&m=zsk_award"));?>;
		      <img src='<?php echo $_W["siteroot"]."app/".$this->createMobileUrl("QRCode",array("url"=>"http://sq.0mnet.cn/app/index.php?i=2&c=entry&awardid=22&do=app&m=zsk_award"));?>'> -->		   
		      <img src='<?php echo $_W["siteroot"]."app/".$this->createMobileUrl("QRCode",array("url"=>$_W['siteroot']."app/".$this->createMobileUrl("app",array("awardid"=>$item['id']))));?>'>
		    </div> 
		</div>
		 <div class="row" style="margin-top: 20px;">
		    <div class="col-xs-12 col-md-12 " style="text-align: center;" >
		      <a href="javascript:void(0);" type="button"  style="color: blue;" class="mybtn"  onclick="history.go(-1);" />返回</a>
		    </div> 
		</div>
	</div>
</div>
{template 'common/footer'}